import request from '@/utils/request'

// 查询岗亭换班查询列表
export function listParkGangting(query) {
  return request({
    url: '/system/parkGangting/list',
    method: 'get',
    params: query
  })
}

// 查询岗亭换班查询详细
export function getParkGangting(id) {
  return request({
    url: '/system/parkGangting/' + id,
    method: 'get'
  })
}

// 新增岗亭换班查询
export function addParkGangting(data) {
  return request({
    url: '/system/parkGangting',
    method: 'post',
    data: data
  })
}

// 修改岗亭换班查询
export function updateParkGangting(data) {
  return request({
    url: '/system/parkGangting',
    method: 'put',
    data: data
  })
}

// 删除岗亭换班查询
export function delParkGangting(id) {
  return request({
    url: '/system/parkGangting/' + id,
    method: 'delete'
  })
}

// 导出岗亭换班查询
export function exportParkGangting(query) {
  return request({
    url: '/system/parkGangting/export',
    method: 'get',
    params: query
  })
}